ImageGear .NET v25.2 - Updated
ImageGear.Windows.Controls Assembly / ImageGear.Core Namespace / ImGearReadOnlyDictionary<TKey,TValue> Class / Item Property
The key of the value to get.




In This Topic
    Item Property (ImGearReadOnlyDictionary<TKey,TValue>)
    In This Topic
    Gets the value associated with the specified key.
    Syntax
    'Declaration
     
    Public Default Property Item( _
       ByVal key As TKey _
    ) As TValue
    'Usage
     
    Dim instance As ImGearReadOnlyDictionary(Of TKey,TValue)
    Dim key As TKey
    Dim value As TValue
     
    instance.Item(key) = value
     
    value = instance.Item(key)
    public TValue this[ 
       TKey key
    ]; {get; set;}
    public: __property TValue* get_Item   TKey* key
    ;
    public: __property void set_Item   TKey* key,
       TValue* value
    ;
    public:
    property TValue^ default [TKey^] {
       TValue^ get(TKey^ key);
       void set (TKey^ keyTValue^ value);
    }

    Parameters

    key
    The key of the value to get.

    Property Value

    TValue object.
    See Also